import {request} from "./request.js"

export const getHome=()=>{
  let data=request('index',{
    method:'get'
  })
  return data
}

//优惠券
export const getQuan=()=>{
	let data=request('coupon',{
		method:'get'
	})
	return data
}

//拼团
export const getPin=()=>{
	let data=request('group?usable=1',{
		method:'get'
	})
	return data
}